home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech's Sprocket™ / SprocketGX / AppSpecific / GXToolWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-17  |  762 b   |  40 lines  |  [TEXT/MMCC]

  1. /*
  2.     File:        GXToolWindow.h
  3.  
  4.     Contains:    A  palette window that will show info about the current shape
  5.                 
  6.     Written by: Jon Summers
  7.     
  8.     Copyright:    © 1994 by Jon Summers, all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.      
  12.  */
  13.  
  14. #ifndef        _GXTOOLWINDOW_
  15. #define        _GXTOOLWINDOW_
  16.  
  17. #ifndef        _TOOLWINDOW_
  18.     #include    "ToolWindow.h"
  19. #endif
  20.  
  21. #ifndef    __QDGXHeaders__
  22.     #include    "QDGXHeaders.h"
  23. #endif
  24.  
  25. typedef enum { ePageShape, eTestShape } InspectShapeType; 
  26. void    SetInspectShape(InspectShapeType theType, gxShape  theShape);
  27. void    SetInspectPage(long  thePageNum, long theNumOfPages);
  28.  
  29. class     TGXToolWindow    :    public TToolWindow
  30. {
  31. public:
  32.                     TGXToolWindow();
  33.         virtual ~TGXToolWindow();
  34.     
  35.     virtual void        Draw(void);
  36.     static TGXToolWindow*  fgToolWindow;
  37. };
  38.  
  39. #endif
  40.